package com.hospital.vac.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Author: ANLGIN
 * @CreateTime: 2023-03-10  13:52
 * @Description: TODO 疫苗预约订单
 */
@TableName("vaccine_order")
@Data
@Accessors(chain = true)
public class VaccineOrder {
    @TableId(type = IdType.AUTO,value = "v_id")
    private Integer vid;
    private String OrderNo;
    private String phone;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date orderTime;
    private int status;
    private String vaccinePlace;
    private String vaccineId;
    private Integer userId;
    private Integer isDelete;
    @TableField(exist = false)
    private String name;
    @TableField(exist = false)
    private String address;
    @TableField(exist = false)
    private String username;
}
